<?php 
  slot( 'menu', get_partial('project/menu', array('menu' => $menu )));
  slot( 'submenu', get_partial('project/submenu', array('menu' => $menu->getSubmenu() )));
?>

      <div class="topic">
        <h1 class="title">
            <?php echo $article->getTitle() ?>
        </h1>
        <ul class="action">         
            <li class="edit">
              <!--{ Edit link }-->
            </li>
        </ul>       
        <div class="content">
          <?php echo $article->getDescription() ?>        
        </div>        
        <ul class="tags">
          <li>
            <!--{ Tag }-->
          </li>
        </ul>       
        <ul class="voting" >
          <li class="date">
            <?php echo $article->getCreatedAt() ?>
          </li>
        </ul>
      </div>
      
<?php 

$sidebar = '
  <div id="hotproject">
    <script language="javascript" type="text/javascript">$().ready(function(){ $("#hotproject").load("'.url_for('@widget?module=widget&action=hotproject').'"); });</script>
  </div>
  <div id="newproject">
    <script language="javascript" type="text/javascript">$().ready(function(){ $("#newproject").load("'.url_for('@widget?module=widget&action=newproject').'"); });</script>
  </div>    
';
slot( 'sidebar', $sidebar);
  
?>